package com.wwt.springboot_vue.service;

import com.wwt.springboot_vue.bean.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryService {
    List<Category> findAllCategory();
    List<Category>  findAllCategoryBylimit(int start,int size);
    Category getCategoryIdByName(String category_name);

    void delete(int category_id);

    void update(Category category);

    void add(Category category);
    int count();

}
